<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core">

    <body>

        <ui:composition>
            <h:form  rendered="#{UsuarioController.logado}">
                <ul>
                    <li class="first"> <h:commandLink action="#{PageManager.setPagePrincipal}" value="Home" /></li>
                    <li class="first"> <h:commandLink action="#{PageManager.setMenuCadastro}" value="Cadastros" /></li>
                    <li class="first"> <h:commandLink action="#{PageManager.setMenuQuestoes}" value="Questoes" /></li>
                    <li class="first"> <h:commandLink action="#{PageManager.setMenuListasAvaliacoes}" value="Listas / Avaliações" /></li>
                    <li class="first"> <h:commandLink action="#{PageManager.setMenuRelatorios}" value="Relatórios" /></li>
<!--                    <li class="first"> <h:commandLink action="{PageManager.setMenuAjuda}" value="Ajuda" /></li>-->
                    <c:if test="#{UsuarioController.admin}" >
                        <li class="first"> <h:commandLink action="#{PageManager.setMenuAdmin}" value="Admin" /></li>
                    </c:if>
                    <li class="first"> <h:commandLink action="#{UsuarioController.deslogar}" value="Deslogar" /></li>

                </ul>
            </h:form>
        </ui:composition>

    </body>
</html>
